package com.zito.bean;

import javax.validation.groups.Default;


import com.downlove.validation.notnull.NotNull;
import com.downlove.validation.strlength.CheckLength;
import com.zito.pojo.InvestansPOJO;

@SuppressWarnings("serial")
public class Investans extends InvestansPOJO {
	private Long id;
	private Long investquesid;
	private String ansname;
	private String anstime;
	@NotNull(message = "问卷未完成,请检查！", groups = { Default.class })
	@CheckLength(message = "问卷未完成,请检查！", min = 1, groups = { Default.class })
	private String anscontent;
	private String ansip;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getInvestquesid() {
		return investquesid;
	}
	public void setInvestquesid(Long investquesid) {
		this.investquesid = investquesid;
	}
	public String getAnsname() {
		return ansname;
	}
	public void setAnsname(String ansname) {
		this.ansname = ansname;
	}
	public String getAnstime() {
		return anstime;
	}
	public void setAnstime(String anstime) {
		this.anstime = anstime;
	}
	public String getAnscontent() {
		return anscontent;
	}
	public void setAnscontent(String anscontent) {
		this.anscontent = anscontent;
	}
	public String getAnsip() {
		return ansip;
	}
	public void setAnsip(String ansip) {
		this.ansip = ansip;
	}
}
